﻿using Base.Data.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Base.Api.Models
{
    public class AuthMemberAuthModel
    {
        public AuthMemberAuthModel()
        {
            this.AuthRoleIds = new List<string>();
            this.AuthRoleGroupIds = new List<string>();
            this.Roles = new List<t_role>();
            this.RoleGroups = new List<t_role_group>();
        }

        public string Id { get; set; }

        public string Name { get; set; }

        public string Code { get; set; }

        public List<string> AuthRoleIds { get; set; }

        public List<string> AuthRoleGroupIds { get; set; }

        public List<t_role> Roles { get; set; }

        public List<t_role_group> RoleGroups { get; set; }
    }
}
